    H  E  R  O  E  S   O  F   M  I  G  H  T  &  M  A  G  I  C

	    F  O  R    W  I  N  D  O  W  S   9  5
			  
			 Offset List

		   v1.00 ENGLISH (01/18/97)

			     BY

			   MORDOR	


You will need any hex editor to perform these cheats. You may save two types of 
games: Standard and Campaign. Normal game has extension .gm*, while compaign is 
saved in files fith extension .cgm. With editor load open savegame file. 

PLAYERS:
========
There are 4 players in game. In order to find player data you must search for
following strings: 'Player 1','Player 2','Player 3','Player 4'. 

PLAYER RECORD:
==============
Offs	Name			Type	Description
=======================================================================
+00	Name			C8
+08   					117 Bytes
+7D   	Crystal			LONG
+81   	Gem			LONG
+85   	Lumber			LONG
+89   	Mercury			LONG
+8D   	Ore			LONG
+91   	Sulfer			LONG
+95  	Gold			LONG
+99   					36 Bytes
=======================================================================

HEROES:
=======
You must know name of the hero you want to edit. Search for the name. Hero
records starts with name.

HERO RECORD:
============
Offs	Name			Type	Description
=======================================================================
+00	Name			C17
+11   	Short			C9
+1A   					No idea what's here
+1B   	HeroNum			BYTE
+1C   					11 bytes
+27	Experience		LONG
+2B					3 bytes
+2E	Attack			BYTE
+2F	Defence			BYTE
+30   	Spell			BYTE
+31   	Knowledge		BYTE
+32   					35 bytes
+55   	Unit 1 Type		BYTE
+56   	Unit 2 Type		BYTE
+57   	Unit 3 Type		BYTE
+58  	Unit 4 Type		BYTE
+59   	Unit 5 Type		BYTE
+5A   	Unit 1 Number		INT
+5C   	Unit 2 Number		INT
+5E   	Unit 3 Number		INT
+60   	Unit 4 Number		INT
+62   	Unit 5 Number		INT
+64     Spell list		Array 	29 bytes representing spell type
+81   	Spell Number		Array	29 bytes represnting spell number
+82   	SpellBook		BYTE	Spell book flag: 1-present, 0-absent
+83   	Artifacts		Array	13 bytes containing types of items
+90   					10 byte
=======================================================================

UNIT TYPES:
===========
00	None
01	Peasant
02	Archer
03	Pikeman
04	Swordsman
05	Cavalry
06	Paladin
07	Goblin
08	Orc
09	Wolf
0A	Ogre
0B	Troll
0C	Cyclops
0D	Sprite
0E	Dwarf
0F	Elf
10	Druid
11	Unicorn
12	Phoenix
13	Centaur
14	Gargoyle
15	Griffin
16	Minotaur
17	Hydra
18	Dragon
19	Rogue
1A	Nomad
1B	Ghost
1C	Genie

ARTIFACTS:
==========
00	None
01	Ultimate Book
02	Ultimate Sword
03	Ultimate Cloak
04	Ultimate Wand
05	Arcane Necklace
06	Caster`s Bracelet
07	Mage`s Ring
08	Witches Broach
09	Medal (+1 Morale)
0A	Medal (+1 Morale)
0B	Medal (+1 Morale)
0C	Medal (+1 Morale)
0D	Fizbin Medal (-2 Morale)
0E	Thunder Mace
0F	Armored Gauntlets
10	Defender Helm
11	Giant Flail
12	Ballista
13	Stealth Shield
14	Dragon Sword
15	Power Axe
16	Divine Breastplate
17	Minor Scroll
18	Major Scroll
19	Superior Scroll
1A	Foremost Scroll
1B	Endless Sack
1C	Endless Bag
1D	Endless Purse
1E	Nomad Boots
1F	Traveler`s Boots
20	Rabbit`s Foot
21	Horseshoe
22	Coin
23	Clover
24	Compass
25	Astrolabe

SPELLS:
=======
00	None
01	Fireball
02	Lighting Bolt
03	Teleport
04	Cure
05	Resurect
06	Haste
07	Slow
08	Blind
09	Bless
0A	Protection
0B	Curse
0C	Turn Undead
0D	Anti-Magic
0E	Dispel Magic
0F	Berzeker
10	Armageddon
11	Storm
12	Meteor Shower
13	Paralyze
14	View Mines
15	View Resources
16	View Artifacts
17	View Towns
18	View Heroes
19	View All
1A	Identify Hero
1B	Summon Boat
1C	Dimension Door
1D	Town Gate


DISCLAIMER:  THIS DOCUMENT OR ITS AUTHOR IS IN NO WAY CONNECTED IN ANY WAY
             WITH NEW WORLD COMPUTING OR ANY OF ITS AFFILIATES OR PARENT 
	     COMPANIES. USE THIS AT YOUR OWN RISK. 


Savegame editor is available as FREEWARE. All above information is used
to write it. So far I know that it's not everything what you can find in
savegame file. I am going to make more research when I try HMM 2. Maybe
it's possible to write editor that will support both versions.

If you know something to make this document better please send your
comments to:
 mordor@opnt.optimus.wroc.pl

ENJOY,
